package com.naiterui.ehp.bs.pharmacist.vo.recommend;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.util.Date;

@ApiModel(value = "处方列表")
@Builder
@Data
public class MedicationRecomVO implements java.io.Serializable {


    private static final long serialVersionUID = 8544411228911723758L;

    /**
     * 审核状态-待审核
     */
    public static final int AUDIT_STATUS_PENDING = 0;
    /**
     * 审核状态-通过
     */
    public static final int AUDIT_STATUS_PASS = 1;
    /**
     * 审核状态-不通过
     */
    public static final int AUDIT_STATUS_REJECT = 2;
    /**
     * 审核状态-不通过
     */
    public static final int AUDIT_STATUS_INVAL = 3;

    /**
     * 全部状态
     */
    public static final int AUDIT_STATUS_ALL = 99;
    /**
     * 我审核的(审核通过+审核不通过的)
     */
    public static final int AUDIT_STATUS_MY = 100;


    /**
     * 主键
     */
    @ApiModelProperty(value = "记录ID")
    private Long id;

    /**
     * 处方ID
     */
    @ApiModelProperty(value = "处方ID")
    private Long recomId;

    /**
     * 处方编号
     */
    @ApiModelProperty(value = "处方编号")
    private String serialNumber;

    /**
     * 医生ID
     */
    @ApiModelProperty(value = "医生ID")
    private Long doctorId;

    /**
     * 医生姓名
     */
    @ApiModelProperty(value = "医生姓名")
    private String doctorName;

    /**
     * 审核状态(0:默认(不需要审核), 1:审核中, 2:审核通过, 3:审核不通过)
     */
    @ApiModelProperty(value = "审核状态(0:默认(不需要审核), 1:审核中, 2:审核通过, 3:审核不通过)")
    private Integer status;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createdAt;


    @ApiModelProperty(value = "审核药师")
    private String pharmacistName;

}
